package cc.mcggdd.leah.boot.stock.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cc.mcggdd.leah.boot.stock.model.entity.StockHolding;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import cc.mcggdd.leah.boot.stock.model.query.StockHoldingQuery;
import cc.mcggdd.leah.boot.stock.model.vo.StockHoldingVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 持仓管理Mapper接口
 *
 * @author 
 * @since 2025-02-13 09:38
 */
@Mapper
public interface StockHoldingMapper extends BaseMapper<StockHolding> {

    /**
     * 获取持仓管理分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return
     */
    Page<StockHoldingVO> getStockHoldingPage(Page<StockHoldingVO> page, StockHoldingQuery queryParams);

}
